home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / local / sbin / tails-debugging-info < prev    next >
Encoding:
Text File  |  2013-01-06  |  648 b   |  28 lines

  1. #!/bin/sh
  2.  
  3. debug_command() {
  4.     echo
  5.     echo "===== output of command $@ ====="
  6.     "$@"
  7. }
  8.  
  9. debug_file() {
  10.     echo
  11.     echo "===== content of $1 ====="
  12.     cat $1
  13. }
  14.  
  15. debug_command /usr/sbin/dmidecode -s system-manufacturer
  16. debug_command /usr/sbin/dmidecode -s system-product-name
  17. debug_command /usr/sbin/dmidecode -s system-version
  18. debug_command "/bin/dmesg"
  19. debug_command "/bin/lsmod"
  20. debug_command "/usr/bin/lspci"
  21.  
  22. debug_file "/etc/X11/xorg.conf"
  23. debug_file "/var/log/Xorg.0.log"
  24. debug_file "/var/log/gdm3/:0-slave.log"
  25. debug_file "/var/log/gdm3/:0-greeter.log"
  26. debug_file "/var/log/live-persist"
  27. debug_file "/var/lib/gdm3/tails.persistence"
  28.